package com.usefullc.crawler.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.crawler.domain.ActiveSliceInstance;
import com.usefullc.system.service.component.extend.ApiField;
import com.usefullc.system.service.component.extend.DictField;
import com.usefullc.system.service.component.extend.EnumField;
import com.usefullc.system.service.component.extend.UsefulField;
import com.usefullc.system.service.component.extend.ApiField;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 爬虫活动切片实例返回实体
 * @author: 星空
 * @date: 2023-07-12
 */
@Data
public class ActiveSliceInstanceVo extends BaseDomain {

//useful_auto_generate_section_start


    @ApiModelProperty(notes = "数据状态（0 不存在，1 存在）")
    private Boolean delState;


    @ApiModelProperty(notes = "ID")
    private Long id;

    @ApiModelProperty(notes = "客户端任务ID")
    @TableField(value="`clientTaskId`")
    private String clientTaskId;

    @ApiModelProperty(notes = "活动ID")
    private Long activeId;


    @ApiModelProperty(notes = "活动主实例ID")
    private Long activeMainInstanceId;


    @ApiModelProperty(notes = "活动实例ID")
    private Long activeProcessId;


    @ApiModelProperty(notes = "失败内容")
    private String errContent;


    @ApiModelProperty(notes = "是否拦截，调试（0 否； 1 是，默认 ")
    private Boolean intercept;


    @ApiModelProperty(notes = "名称")
    private String name;


    @ApiModelProperty(notes = "返回解析主体")
    private String responseAnalyseBody;


    @ApiModelProperty(notes = "返回主体")
    private String responseBody;


    @ApiModelProperty(notes = "返回原生头部")
    private String responseRawHeader;


    @ApiModelProperty(notes = "状态（0 初始； 1 成功；2 失败 ")
    private Integer status;


    @ApiModelProperty(notes = "发费时间（毫秒数")
    private Long takeTime;


    @ApiModelProperty(notes = "任务状态（0 未处理，1 处理中  ")
    private Integer taskStatus;


    @ApiModelProperty(notes = "模板ID")
    private Long templateId;


    @ApiModelProperty(notes = "URL")
    private String url;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "数据创建时间")
    private Date gmtCreate;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "数据最后修改时间")
    private Date gmtModified;


    @ApiModelProperty(notes = "活动实例ID")
    private Long activeInstanceId;


//useful_auto_generate_section_end


}
